package com.Reactor3参考文档.service;

import org.reactivestreams.Publisher;
import reactor.core.publisher.Mono;
import com.Reactor3参考文档.domain.Favorite;

public class FavoriteService {

	public Publisher<Favorite> getDetails(Integer id) {
		return Mono.just(new Favorite(id, "编程思想(第" + id + "版)"));
	}

}
